package com.ethink.order.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 销售退单 数据库实体
 *
 * @author default
 * @date 2022-12-09
 */
@Data
@TableName("t_sale_return_order")
public class SaleReturnOrder extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String SALE_ORDER_NO ="sale_order_no";

    public static final String ORDER_TYPE ="order_type";

    public static final String SHOP_ORDER_NO ="shop_order_no";

    public static final String SUB_WAREHOUSE_CODE ="sub_warehouse_code";

    public static final String SUB_WAREHOUSE_NAME ="sub_warehouse_name";

    public static final String RETURN_STATUS ="return_status";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";


    /** 销售退单号 */
    private String orderNo;

    /** 销售单号 */
    private String saleOrderNo;

    /** 枚举 订单类型:1-预售单(t1)|2-批量导入(t2)|3-手工建单(t3)|4-吉客云导入(t4) */
    private Integer orderType;

    /** 网店订单号 */
    private String shopOrderNo;

    /** 分仓编码 */
    private String subWarehouseCode;

    /** 分仓名称 */
    private String subWarehouseName;

    /** 枚举 订单状态:1-草稿(s1)|2-待审批(s2)|3-待退货(s3)|4-完成(s4) */
    private Integer returnStatus;

    /** 制单人编码 */
    private String createUserCode;

    /** 制单人名称 */
    private String createUserName;

}
